package cn.zxuqian.components;

import org.springframework.boot.actuate.health.Health;
import org.springframework.boot.actuate.health.HealthIndicator;
import org.springframework.stereotype.Component;

// For test only
//@Component
public class TestHealthIndicator implements HealthIndicator {


    @Override
    public Health health() {
        //return Health.down().build();
        return Health.up().build();
    }
}
